#define _CRT_SECURE_NO_WARNINGS 1
#include "Queue.h"


void text1()
{
	Node q;
	QueueInit(&q);
	QueuePushu(&q, 1);
	QueuePushu(&q, 2);
	QueuePushu(&q, 3);
	QueuePushu(&q, 4);
	QueuePushu(&q, 5);
	printf("%d\n", QueueSize(&q));

	while (!QueueEmpt(&q))
	{
		int ret = QueueFindFront(&q);
		printf("%d ", ret);
		QueuePop(&q);
	}


	QueueDestroy(&q);

}
int main()
{
	text1();
	return 0;
}